package com.codi.bus.core.event;

import com.codi.bus.core.event.model.BaseEvent;

/**
 * 模块名
 *
 * @author spy
 * @version 1.0 2017-12-20 14:42
 * @since 1.0
 */
public interface EventBusService {

    /**
     * post msg
     *
     * @param event
     * @return
     */
    Object post(BaseEvent event);

    /**
     * async post msg
     *
     * @param event
     * @return
     */
    void postAsync(BaseEvent event);
}
